@import "~taro-ui/dist/style/components/tabs.scss";
@import "~taro-ui/dist/style/components/switch.scss";

.set_container {
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    box-sizing: border-box;

    .at-switch {
        padding: 0;
    }

    .container_tabs {
        height: 80px !important;
        color: #000 !important;
        // margin-bottom: 20px;
        padding-top: 0;

        .lgTabs-container_tab {
            background-image: none;
            background-color: #fff;
        }

        .lgTab_container {
            height: 80px;
            line-height: 80px;
        }

        .lgTab_container_text {
            color: black;
            font-size: 28px;
        }

        .lgTab_title {
            font-family: 'PingFang-SC-Regular';
            font-size: 28px;
            color: #666666;
        }

        .lgTab__active {
            color: rgb(0, 153, 255);

            .lgTab_container_text .lgTab_title {
                color: rgb(0, 153, 255);
                font-size: 28px;
            }
        }

        .lgTab__active_container {

            background-color: rgb(0, 153, 255);
            height: 4px;
        }
    }

    .shield_body {
        flex: 1;
        display: flex;
        flex-direction: column;
        background-color: #f5f5f5;

        .shield_count {
            display: flex;
            align-items: center;
            padding: 30px 0 19px 30px;
            margin-top: 20px;
            font-size: 28px;
            font-weight: normal;
            font-stretch: normal;
            letter-spacing: 0px;
            color: #b8b8b8;
            line-height: 24px;
            white-space: inherit;
            background-color: #fff;

            .text {
                font-family: '.PingFang SC';
                font-size: 28px;
                font-weight: normal;
                letter-spacing: 0px;
                color: #333333;
            }
        }

        .shield_list {
            flex: 1;
            background-color: #fff;

            .shield_one {
                padding: 0 24px;
                background-color: #fff;
                border-bottom: 1px solid #f5f5f5;
                height: 88px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                box-sizing: border-box;

                .left {

                    .avatar {
                        display: inline-block;
                        vertical-align: middle;
                        margin-right: 16px;
                        width: 48px;
                        height: 48px;
                        border-radius: 100%;
                        background: url(../images/0g00101.svg) no-repeat;
                        background-size: contain;
                    }

                    .name,
                    .id {
                        font-size: 30px;
                        display: inline-block;
                        vertical-align: middle;
                    }

                    .name {
                        max-width: 300px;
                        overflow: hidden;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                        font-weight: normal;
                        font-stretch: normal;
                        letter-spacing: 0px;
                        color: #252525;
                    }

                    .id {
                        font-weight: normal;
                        letter-spacing: 0px;
                        color: #656565;
                    }
                }

                .right {
                    font-size: 28px;
                    font-weight: normal;
                    font-stretch: normal;
                    letter-spacing: 0px;
                    color: #0099ff;
                }

            }
        }

    }

    .set_body {
        flex: 1;
        margin-top: 20px;
        overflow-y: auto;
        overflow-x: hidden;

        .level_one {
            padding: 27px 30px;
            margin-bottom: 20px;
            background-color: #fff;

            &:nth-last-child(1) {
                margin-bottom: 0;
            }

            .header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                font-size: 32px;
                padding-bottom: 16px;
                border-bottom: 1px solid #f2f2f2;
            }

            $radius_heigth:10px;

            .body {
                .level_two {
                    display: flex;
                    position: relative;
                    justify-content: space-between;
                    align-items: center;
                    padding: 23px 0;
                    border-bottom: 1px solid #f2f2f2;
                    font-size: 28px;
                    color: #656565;

                    // & .at-switch {
                    //     transform: scale(0.762);
                    // }

                    &:nth-last-child(1) {
                        border-bottom: 1px solid transparent;
                        padding-bottom: 0;
                    }

                    .title {
                        font-family: PingFang-SC-Regular;
                        font-size: 28px;
                        font-weight: normal;
                        font-stretch: normal;
                        letter-spacing: 0px;
                        color: #656565;
                        margin-left: 19px;
                        line-height: 28px;
                        max-width: 500px;
                        white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                    }

                    &::before {
                        content: '';
                        position: absolute;
                        width: $radius_heigth;
                        height: $radius_heigth;
                        background-color: #999999;
                        border-radius: $radius_heigth/2;
                    }

                    .lg_switch {
                        width: 72px;
                        height: 42px;

                        .sub_btn {
                            width: 72px;

                            .sub_btn_radius {
                                width: 50%;
                            }
                        }
                    }

                    .lg_switch_open {
                        &>.sub_btn {
                            left: 34px;
                        }
                    }
                }
            }
        }
    }
}